# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-frodo
pkgver=0_git20200308
pkgrel=0
_commit="3504bcf8a2e180e9115883f848166d332a9e657f"
pkgdesc="commodore 64 emulator for libretro"
url="https://github.com/libretro/frodo-libretro"
arch="all"
license="GPL-2.0-only"
makedepends="zlib-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/frodo-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/frodo-libretro-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 frodo_libretro.so "$pkgdir"/usr/lib/libretro/frodo_libretro.so
}

sha512sums="00ffded80ef862b4f471015908fabe34c45c2529c60349328b3d415daca6f9075849cac04227d534bf7e5d844825b9aca8729da00823d323d037ffaadc6f8adf  libretro-frodo-3504bcf8a2e180e9115883f848166d332a9e657f.tar.gz"
